package mypack.openworld;

import android.content.Context;
import android.graphics.Paint;

import org.osmdroid.util.GeoPoint;
import org.osmdroid.views.overlay.Overlay;

import overlay.CircleOverlay;

public class SightBoundaryCircle extends SightBoundary {

    private Context context;
    private CircleOverlay circleOverlay;

    public SightBoundaryCircle (Context context, GeoPoint geoPoint, float radius, int color, int alpha, Paint.Style style) {
        this.context = context;
        this.circleOverlay = new CircleOverlay(context, geoPoint, radius);
        circleOverlay.setAlpha(alpha);
        circleOverlay.setColor(color);
        circleOverlay.setPaintStyle(style);
    }

    @Override
    public Overlay getOverlay() {
        return circleOverlay;
    }
}
